@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="deptInfoForm">

            <input type="hidden" id="id" value="${dept.id}">

            <div class="row">
                <div class="col-sm-12">
                    <#input id="name" name="部门名称" underline="true" value="${dept.name}"/>

                    <#input id="pName" name="上级部门" readonly="readonly" hidden="pid" hiddenValue="${dept.pid}"
                    clickFun="DeptInfoDlg.showDeptSelectTree(); return false;"
                    treeFlag="true" treeDivId ="deptTreeDiv" treeId="deptTree" required="true"
                    style="background-color: #ffffff !important;" underline="true"/>

                    <#input id="num" name="排序" underline="true" value="${dept.num!}"/>

                    <#input id="remark" name="备注"  value="${dept.remark!}"/>

                </div>
            </div>

            <div class="row btn-group-m-t">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="DeptInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="DeptInfoDlg.close()"/>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/dept/deptInfo.js"></script>
@}
